/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package main;

import index.Index;

/**
 *
 * @author Lu
 */
public class Launcher {

    public static final int NB_DOCS = 103;

    public static void main(String[] args) {
        String[] documents = new String[NB_DOCS];
        for (int i = 1; i <= NB_DOCS; i++) {
            if (i < 10) {
                documents[i - 1] = "..\\Collection\\d00" + i + ".xml";
            } else if (i < 100) {
                if (i == 40 || i == 41 || i == 42) {
                    continue;
                }
                documents[i - 1] = "..\\Collection\\d0" + i + ".xml";
            } else {
                documents[i - 1] = "..\\Collection\\d" + i + ".xml";
            }
        }
        Index.index(documents);
    }
}
